@import "header.html"
<link rel="stylesheet" href="../css/msg.css">
<body>
<header class="fxj-header">
    <h1 class="fxj-title">消息</h1>
</header>
<main id="main">
    <ul id="OA_task_1" class="mui-table-view">
        <li class="mui-table-view-cell mui-transitioning" v-for="chat of chatList" @click="chatting($event,chat.id)" v-if="chat.deleteId==='0'||chat.deleteId===chat.id">
            <div class="mui-slider-right mui-disabled">
                <a class="mui-btn mui-btn-red" style="transform: translate(0px, 0px);" >删除</a>
            </div>
            <div class="mui-slider-handle" style="transform: translate(0px, 0px);">
                <img class="avatar" :src="chat.img" alt="">
                <div class="chat-mini">
                    <p>
                        <span v-cloak>{{chat.userName}}</span>
                        <span v-cloak>{{chat.date}}</span>
                    </p>
                    <div class="user-msg" v-cloak>{{chat.msg}}</div>
                </div>
            </div>
        </li>
    </ul>
</main>

@import "js.html"
<script src="../script/msg.js"></script>
</body>
@import "footer.html"